#docker run -d -v /home/picture:/home/picture -p 8888:8888 mahuaide/web
FROM openjdk:8-jdk-alpine
RUN apk add --no-cache ttf-dejavu && \
    rm -rf /var/cache/apk/*
VOLUME /tmp
EXPOSE 8888
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY refuel-web/target/*.jar app.jar
ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /app.jar